<?php use_helper('I18N') ?>
<?php $notice = $sf_user->getFlash('notice') ?>
<?php if ($form->hasErrors() || $notice) : ?>
<!-- Notification -->
<div class="notification error">
	<a href="#" class="close-notification tooltip" title="Hide Notification">x</a>
	<h4>Error notification</h4>
	<p><?php echo $form['username']->renderError(); ?></p>
	<?php if($notice): ?>
		<p><?php echo $notice ?></p>
	<?php endif; ?>
</div>
<!-- /Notification -->
<?php endif; ?>
<!-- Full width content box -->
<article class="content-box minimizer">
	<header>
		<h2>Digital Form Login</h2>
<!--		<nav>
			<p id="logaction">Not a member yet? <a class="regtoggle" href="#">Join us</a>!</p>
			<p id="regaction">Already a member? <a class="regtoggle" href="#">Log in</a>!</p>
		</nav>-->
	</header>
	<section>
	<?php echo get_partial('sfGuardAuth/signin_form', array('form' => $form)) ?>
	</section>
	<footer>
		<ul class="login-links">
			<li><a class="blue" href="#">Lost password?</a></li>
<!--			<li><a href="#">Wiki</a></li>
			<li><a href="#">Back to page</a></li>-->
		</ul>
	</footer>
</article>
<!-- /Full width content box -->
